try{
	Type.registerNamespace('DeptVO');
	
	//基础档案-部门VO
	DeptVO = function(){};
	DeptVO.prototype = new NCMMPubUtil.SuperVO();
	DeptVO.PKDEPT={
		name:"pk_dept", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	DeptVO.CODE={
		name:"code", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	DeptVO.NAME={
		name:"name", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	DeptVO.SHORTNAME={
		name:"shortname", type:NCMMPubUtil.VALUE_TYPE_TEXT
	};
	
	DeptVO.prototype.getAllAttrs = function(){
		return [DeptVO.PKDEPT,
				DeptVO.CODE,
				DeptVO.NAME,
				DeptVO.SHORTNAME];
	};
	DeptVO.prototype.getTableName = function(){
		return "app_org_dept";
	};
	DeptVO.prototype.getPrimaryAttr = function(){
		return DeptVO.PKDEPT;
	};
}catch(e){$e(e);}